<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>需求</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="imap.setup.html">« 安装/配置</a></li>
      <li style="float: right;"><a href="imap.installation.html">安装 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="imap.setup.html">安装/配置</a></li>
    <li>需求</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="imap.requirements" class="section">
  <h2 class="title">需求</h2>
  <p class="para">
   This extension requires the c-client library to be installed.
   Grab the latest version from <a href="https://github.com/uw-imap/imap" class="link external">&raquo;&nbsp;https://github.com/uw-imap/imap</a>
   and compile it.
  </p>
  <p class="para">
   It&#039;s important that you do not copy the IMAP source files directly into
   the system include directory as there may be conflicts.  Instead, create
   a new directory inside the system include directory, such as 
   <var class="filename">/usr/local/imap-2000b/</var> (location and name
   depend on your setup and IMAP version), and inside this new 
   directory create additional directories named <var class="filename">lib/</var> 
   and <var class="filename">include/</var>.  From the <var class="filename">c-client</var> 
   directory from your IMAP source tree, copy all the <var class="filename">*.h</var> 
   files into <var class="filename">include/</var> and all the 
   <var class="filename">*.c</var> files into <var class="filename">lib/</var>.  
   Additionally when you compiled IMAP, a file named
   <var class="filename">c-client.a</var> was created.  Also put this in the 
   <var class="filename">lib/</var> directory but rename it as
   <var class="filename">libc-client.a</var>.
  </p>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <p class="para">
    To build the c-client library with SSL or/and Kerberos support read
    the docs supplied with the package.
   </p>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <span class="simpara">
    In Mandrake Linux, the IMAP library (<var class="filename">libc-client.a</var>)
    is compiled without Kerberos support. A separate version with SSL
    (<var class="filename">client-PHP4.a</var>) is installed. The library must
    be recompiled in order to add Kerberos support.
   </span>
  </p></blockquote>
 </div></div></div></body></html>